package com.groupsix.mapper;

import com.groupsix.pojo.SysCar;

import java.util.List;

public interface SysCarMapper {
    //根据所选城市的id,查询所有车辆(按租车价格从低到高排序)
    public List<SysCar> findCarsByCidSortPrice(int cid);
    //根据所选城市的id,查询所有车辆(按热度排序)
    public List<SysCar> findCarsByCidSortHot(int cid);
    //根据id查询车辆
    public SysCar findCarById(int id);
}
